package com.example.mytips.structure;

import java.util.ArrayList;
import java.util.List;

public class ClassEntity {

    ///行号
    public int startLineNum;

    ///类名
    public String name;

    ///类别
    public String type;

    ///属性列表
    List<PropertyEntity> proertyList;

    ///方法列表
    List<MethodEntity> methodList;

    public ClassEntity(){
        proertyList = new ArrayList<>();
        methodList = new ArrayList<>();
    }
}

class PropertyEntity{
    ///注释
    String note;
    ///类型
    String type;
    ///属性名
    String name;
}

class MethodEntity{
    ///行号
    int startLineNum;

    ///注释
    Boolean isMark = false;

    ///注释
    String note;
    ///类型
    String type;
    ///方法名
    String name;
    ///方法返回值
    String resultValue;
}

class MarkEntity{
    ///行号
    int line;

    ///注释
    String note;
}